package com.xl.mananger;

import com.xl.action.Action;
/**
 * 
 * @author 深圳-夕落  2014-11-25
 * Action 管理类
 */
public class ActionManager extends Manager{

	/**
	 * 根据类名返回Action对象
	 * @param className 
	 * @return
	 */
	public static  Action crate(String className){
		
		try 
		{
			return (Action)loadClass(className).newInstance();
		
		} catch (Exception e)
        {	
			e.printStackTrace();
		}
		
		return null;
	}
	
	
}
